Skip to main content

Decrypt Files with PGP

Description

Decrypt Files with PGP decrypts PGP-encrypted files using the GnuPG (GPG) utility. Use this process entry when your process receives encrypted files from external partners or systems that need to be decrypted before further processing — for example, decrypting a batch of encrypted data files after downloading them from an SFTP server. It supports batch processing of multiple files with destination folder mapping.

Configurations

Field NameDescription
Process entry nameSpecify a unique name for the process entry, on the workspace area. A process entry can be placed on the canvas several times; and each instance of the entry must have a unique name.
Settings
GPG LocationBrowse for GPG location or provide a parameter for location
Include SubfoldersSelect the checkbox if you want to include subfolders.
Copy previous results to argsSelect the checkbox if you want to copy the previous results to args.
File/Folder sourceBrowse for a file/folder for decryption or provide a parameter.
File/Folder destinationBrowse for a file/folder for decrypted file location.
PassphraseProvide the passphrase to decrypt file.
WildcardProvide the wildcard you want to use to filter the files.
Files/FoldersProvide the file or folder for decrypted file location.
Destination file tab
Create destination folderEnable checkbox to create destination folder.
Destination is a fileEnable checkbox to create destination file.
Do not keep folder structureEnable checkbox to ignore folder structure specified in the General tab.
Add date to filenameEnable checkbox to add date to filename.
Add time to filenameEnable checkbox to add time to filename.
Specify Date time formatEnable checkbox to specify Date time format.
Date time formatProvide a date time format or choose from list.
Add date before extensionEnable checkbox to add date before extension.
If destination file existsIf destination file exists choose from the following:

- Do nothing

- Override destination file

- Create file with unique name

- Delete source file

- Move source file to folder

- Fail

Move to folderIf “Move source file to folder” is chosen above this section is activated.
Destination folderProvide destination folder to move file.
Create folderEnable checkbox to create folder.
Add dateEnable checkbox to add date.
Add timeEnable checkbox to add time.
Specify formatEnable checkbox to specify format.
Date formatProvide or choose date format.
Add date before extensionEnable checkbox to add date before extension.
If destination file existsAgain if destination file exists choose from the following:

- Do nothing

- Overwrite file

- Unique name

- Fail

Advanced Tab:
Success On
Success conditionChoose a success condition:

- Success when all works fine

- Success when at least x files decrypted.

- Success when number of errors lesser than

Nr errors lesser thanProvide a value for number of errors lesser than.
Result filename:
Add files to result files nameIf checked, adds processed files to the result file list to make files available to next steps.